package com.ruoyi.project.channel.payerRate.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 支付商费率表 payer_rate
 *
 * @author zero
 * @date 2019-05-12
 */
public class PayerRate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long rateId;
    /**
     * 支付商id
     */
    private Long payerUserId;
    /**
     * 支付商id
     */
    private String payerUserName;
    /**
     * 支付类型
     */
    private String payType;
    /**
     * 支付类型
     */
    private String payTypeLabel;
    /**
     * 费率
     */
    private BigDecimal payRate;
    /**
     * 使用状态(0: 停用 1:正常)
     */
    private String useStatus;

    public void setRateId(Long rateId) {
        this.rateId = rateId;
    }

    public Long getRateId() {
        return rateId;
    }

    public void setPayerUserId(Long payerUserId) {
        this.payerUserId = payerUserId;
    }

    public Long getPayerUserId() {
        return payerUserId;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayRate(BigDecimal payRate) {
        this.payRate = payRate;
    }

    public BigDecimal getPayRate() {
        return payRate;
    }

    public void setUseStatus(String useStatus) {
        this.useStatus = useStatus;
    }

    public String getUseStatus() {
        return useStatus;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("rateId", getRateId())
                .append("payerUserId", getPayerUserId())
                .append("payType", getPayType())
                .append("payRate", getPayRate())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("useStatus", getUseStatus())
                .toString();
    }

    public String getPayTypeLabel() {
        return payTypeLabel;
    }

    public void setPayTypeLabel(String payTypeLabel) {
        this.payTypeLabel = payTypeLabel;
    }

    public String getPayerUserName() {
        return payerUserName;
    }

    public void setPayerUserName(String payerUserName) {
        this.payerUserName = payerUserName;
    }
}
